home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-09-12 | 1.4 KB | 61 lines |
- # SnapShot makefile
- # Sample Code from the Microsoft Multimedia Group
- #
- # This makefile is in Microsoft NMAKE format.
- #
- # make builds SnapShot.exe, the "SnapShot" application
- # make clean deletes files that can be regenerated by rebuilding SnapShot.exe
- #
- #
- #
- # (C) Copyright Microsoft Corp. 1991. All rights reserved.
- #
- # You have a royalty-free right to use, modify, reproduce and
- # distribute the Sample Files (and/or any modified version) in
- # any way you find useful, provided that you agree that
- # Microsoft has no warranty obligations or liability for any
- # Sample Application Files which are modified.
-
- NAME = SnapShot
- CC = cl -c -W2 -AM -G2sw -Zip -Od -DDEBUG
- #CC = cl -c -W2 -AM -G2sw -Zip -Oas
- ASM = masm
- LINK = link /NOE/NOD/CO/LI/MAP
- LIBS = libw mlibcew
-
- OBJ = $(NAME).obj
-
- .c.obj:
- $(CC) $*.c
-
- .asm.obj:
- $(ASM) $*;
-
- goal: $(NAME).sym $(NAME).exe
-
- $(NAME).exe $(NAME).map: $(OBJ) $(NAME).res $(NAME).def
- $(LINK) $(OBJ), $(NAME), $(NAME), $(LIBS), $(NAME).def
- rc $(NAME).res
- cvpack $(NAME).exe
-
- $(NAME).res: $(NAME).rc $(NAME).ico $(NAME).h
- rc -r $(NAME).rc
-
- $(NAME).sym: $(NAME).map $(NAME).exe
- mapsym $(NAME).map
-
- clean:
- del *.exe
- del *.res
- del *.obj
- del *.map
- del *.sym
-
- copy:
- copy $(NAME).exe ..\bin
- copy $(NAME).sym ..\bin
-
- $(NAME).obj : $(NAME).c $(NAME).h
-
-
-